.class Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;
.super Ljava/lang/Object;
.source "ChangeBindActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/ChangeBindActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "mOnclicliseter"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ChangeBindActivity;


# direct methods
.method private constructor <init>(Lcom/example/m6wmr/ChangeBindActivity;)V
    .locals 0

    .prologue
    .line 206
    iput-object p1, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/example/m6wmr/ChangeBindActivity;Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)V
    .locals 0

    .prologue
    .line 206
    invoke-direct {p0, p1}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;-><init>(Lcom/example/m6wmr/ChangeBindActivity;)V

    return-void
.end method

.method static synthetic access$1(Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)Lcom/example/m6wmr/ChangeBindActivity;
    .locals 1

    .prologue
    .line 206
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    return-object v0
.end method

.method private getauthcode()V
    .locals 2

    .prologue
    .line 328
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter$2;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter$2;-><init>(Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 352
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 356
    return-void
.end method

.method private surebindcommit()V
    .locals 2

    .prologue
    .line 294
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter$1;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter$1;-><init>(Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 320
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 323
    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 8
    .param p1, "v"    # Landroid/view/View;

    .prologue
    const/4 v7, 0x0

    .line 212
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v3

    sparse-switch v3, :sswitch_data_0

    .line 289
    :goto_0
    return-void

    .line 214
    :sswitch_0
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/ChangeBindActivity;->finish()V

    goto :goto_0

    .line 220
    :sswitch_1
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    iget-object v4, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->et_newbindphone:Landroid/widget/EditText;
    invoke-static {v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$0(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/EditText;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v4

    invoke-interface {v4}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v4

    const-string v5, "%"

    const-string v6, ""

    invoke-virtual {v4, v5, v6}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string v5, " "

    const-string v6, ""

    invoke-virtual {v4, v5, v6}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$1(Lcom/example/m6wmr/ChangeBindActivity;Ljava/lang/String;)V

    .line 221
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$2(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 223
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u624b\u673a\u53f7\u4e3a\u7a7a"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 229
    :cond_0
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$2(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v2

    .line 231
    .local v2, "value":Ljava/lang/String;
    const-string v3, "^((1[0-9][0-9]))\\d{8}$"

    invoke-static {v3}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v1

    .line 233
    .local v1, "p":Ljava/util/regex/Pattern;
    invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    .line 235
    .local v0, "ms":Ljava/util/regex/Matcher;
    invoke-virtual {v0}, Ljava/util/regex/Matcher;->find()Z

    move-result v3

    if-nez v3, :cond_1

    .line 236
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u624b\u673a\u53f7\u7801\u6709\u8bef"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 241
    :cond_1
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    invoke-static {v3, v7}, Lcom/example/m6wmr/ChangeBindActivity;->access$4(Lcom/example/m6wmr/ChangeBindActivity;Z)V

    .line 242
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->h:Landroid/os/Handler;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$5(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/os/Handler;

    move-result-object v3

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 243
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    invoke-virtual {v3, v7}, Landroid/widget/LinearLayout;->setClickable(Z)V

    .line 245
    invoke-direct {p0}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->getauthcode()V

    goto/16 :goto_0

    .line 253
    .end local v0    # "ms":Ljava/util/regex/Matcher;
    .end local v1    # "p":Ljava/util/regex/Pattern;
    .end local v2    # "value":Ljava/lang/String;
    :sswitch_2
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    iget-object v4, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->et_bindauth_code:Landroid/widget/EditText;
    invoke-static {v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$7(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/EditText;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v4

    invoke-interface {v4}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v4

    const-string v5, "%"

    const-string v6, ""

    invoke-virtual {v4, v5, v6}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string v5, " "

    const-string v6, ""

    invoke-virtual {v4, v5, v6}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/example/m6wmr/ChangeBindActivity;->access$8(Lcom/example/m6wmr/ChangeBindActivity;Ljava/lang/String;)V

    .line 254
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$2(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 255
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u624b\u673a\u53f7\u4e3a\u7a7a"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 258
    :cond_2
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->bindauthcode:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$9(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 259
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u9a8c\u8bc1\u7801\u4e3a\u7a7a"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 262
    :cond_3
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$2(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;

    move-result-object v2

    .line 264
    .restart local v2    # "value":Ljava/lang/String;
    const-string v3, "^((1[0-9][0-9]))\\d{8}$"

    invoke-static {v3}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v1

    .line 266
    .restart local v1    # "p":Ljava/util/regex/Pattern;
    invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    .line 268
    .restart local v0    # "ms":Ljava/util/regex/Matcher;
    invoke-virtual {v0}, Ljava/util/regex/Matcher;->find()Z

    move-result v3

    if-nez v3, :cond_4

    .line 269
    iget-object v3, p0, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->this$0:Lcom/example/m6wmr/ChangeBindActivity;

    # getter for: Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6wmr/ChangeBindActivity;->access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    const-string v5, "\u624b\u673a\u53f7\u7801\u6709\u8bef"

    invoke-static {v3, v4, v5}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 274
    :cond_4
    invoke-direct {p0}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;->surebindcommit()V

    goto/16 :goto_0

    .line 212
    :sswitch_data_0
    .sparse-switch
        0x7f0c0001 -> :sswitch_0
        0x7f0c0086 -> :sswitch_1
        0x7f0c0088 -> :sswitch_2
    .end sparse-switch
.end method
